Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> div { position: relative; height: 60px; width: 60px; background-color: red; -webkit-transform: rotateY(180deg); /* Chrome, Safari, Opera */ transform: rotateY(180deg); } #div1 { -webkit-backface-visibility: hidden; /* Chrome, Safari, Opera */ backface-visibility: hidden; } #div2 { -webkit-backface-visibility: visible; /* Chrome, Safari, Opera */ backface-visibility: visible; } </style> </head> <body> <p>This example shows two div elements, rotated 180 degrees, facing away from the user.</p> <p>The first div element has the backface-visibility property set to "hidden", and should therefore be invisible.</p> <div id="div1">DIV 1</div> <div id="div2">DIV 2</div> <p><strong>Note:</strong> The backface-visibility property is not supported in Internet Explorer 9 and earlier versions.</p> </body> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss3_backface-visibility by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:50:04 GMT --> </html>
Result:
Try it Yourself - © w3schools.com